package cz.mendelu.swi2.komentare.interfaces;
import java.util.Collection;

import cz.mendelu.swi2.komentare.controllers.Post;



/**
 * @author infsys
 * @version 1.0
 * @created 07-6-2012 17:27:01
 */
public interface DBCommentable {

	/**
	 * 
	 * @param first
	 * @param last
	 * @param thread
	 */
	public Collection<Post> dbLoadPosts(int first, int last, Commentable thread);

	/**
	 * 
	 * @param post
	 */
	public void dbRemovePost(Post post);

	/**
	 * 
	 * @param post
	 */
	public void dbStorePost(Post post);

}